import {Schema, model} from "mongoose";

const User = new Schema({
    account: {
        type: String,
        required: true,
    },
    password: {
        type: String,
        required: true
    },
    head: {
        type: String,
        required: false
    },
    email: {
        type: String,
        required: false
    }
});

export default model("user", User);
